#ifndef _GUI_TOOLBAR_H
#define _GUI_TOOLBAR_H

#include <SFGUI/SFGUI.hpp>

#include "gui/gui-tool.hpp"

class GuiButton;
class GuiLabel;

class City;

class GuiToolbar
{
    public:
    GuiToolbar(City& city);

    sfg::Window::Ptr toSfgui(){return myWindow;}

    void addTool(GuiTool* tool);
    void selectTool(const GuiTool& tool);

    private:
    sfg::Window::Ptr myWindow;
    sfg::Box::Ptr m_container;

    std::list<sfg::Button::Ptr> m_buttons;
    std::list<std::unique_ptr<GuiTool>> m_tools;

};


#endif // _GUI_TOOLBAR_H
